//
//  HRZTextFileBgView.m
//  EMarket
//
//  Created by 石头 on 2018/5/31.
//  Copyright © 2018 好日子. All rights reserved.
//

#import "HRZTextFileBgView.h"

@implementation HRZTextFileBgView


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.

- (void)awakeFromNib
{
    [super awakeFromNib];
    
    [self.layer setMasksToBounds:YES];
    [self.layer setBackgroundColor:[UIColor colorWithWhite:0.925 alpha:1.000].CGColor];
    [self.layer setCornerRadius:3.0];
    //    [self.layer setBorderWidth:1.0];   //边框宽度
    //    [self.layer setBorderColor:[UIColor colorWithRed:0.941 green:0.580 blue:0.408 alpha:1.000].CGColor];//边框颜色
}

- (void)drawRect:(CGRect)rect {
    // Drawing code
    
    [self.layer setMasksToBounds:YES];
    [self.layer setBackgroundColor:[UIColor colorWithWhite:0.925 alpha:1.000].CGColor];
    [self.layer setCornerRadius:3.0];
}


@end
